cross
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)
committerPatrick Franz <deltaone@debian.org>
Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)
Gbp-Pq: Name cross.patch

examples/sql/CMakeLists.txt
src/tools/configure.cmake

index 06d7d532d7aeef78e64a42b65bc5c9084ef0969a..246771df057289670b46a5cf79c1d3ba111fa018 100644 (file)
@@ -15,6 +15,6 @@ if(TARGET Qt6::Xml)
     qt_internal_add_example(masterdetail)
 endif()
 
-if(NOT CMAKE_CROSSCOMPILING)
+if(QT_FORCE_BUILD_TOOLS OR NOT CMAKE_CROSSCOMPILING)
     qt_internal_add_example(sqlbrowser)
 endif()
index 618dc09f3b54410e7cdf7ce8e88e52aa382d5852..291a047f7f5ca320fe1bf1403795c0c32e7868ab 100644 (file)
@@ -5,7 +5,7 @@ qt_feature("androiddeployqt" PRIVATE
     SECTION "Deployment"
     LABEL "Android deployment tool"
     PURPOSE "The Android deployment tool automates the process of creating Android packages."
-    CONDITION NOT CMAKE_CROSSCOMPILING AND QT_FEATURE_regularexpression AND QT_FEATURE_settings)
+    CONDITION (QT_FORCE_BUILD_TOOLS OR NOT CMAKE_CROSSCOMPILING) AND QT_FEATURE_regularexpression)
 
 qt_feature("macdeployqt" PRIVATE
     SECTION "Deployment"